﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FeCMS.Common.Interface;
using FeCMS.Common.Enum;

namespace Test.MockClass
{
    public class MockTemplateErrorCode : IErrorCode
    {
        public string Code
        {
            get
            {
                return "0x00010000";
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public string ShortMessage
        {
            get
            {
                return "添加失败";
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public string LongMessage
        {
            get
            {
                return "添加{0}失败。";
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public int ErrorValue
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public ErrorLevel ErrorLevel
        {
            get
            {
               return ErrorLevel.Site;
            }
            set
            {
                throw new NotImplementedException();
            }
        }
    }


    public class MockReasonErrorCode : IErrorCode
    {
        public string Code
        {
            get
            {
                return "0x00000001";
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public string ShortMessage
        {
            get
            {
                return "不存在";
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public string LongMessage
        {
            get
            {
                return "{0}不存在。";
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public int ErrorValue
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public ErrorLevel ErrorLevel
        {
            get
            {
                return ErrorLevel.Site;
            }
            set
            {
                throw new NotImplementedException();
            }
        }
    }
}
